package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 行政区划对象 area
 *
 * @author strongme
 * @date 2023-01-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("area")
public class Area extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 编码
     */
    @TableId(value = "id")
    private String id;
    /**
     * 父级编码
     */
    private String parId;
    /**
     * 名称
     */
    private String name;
    /**
     * 标识
     */
    private String remark;

}
